package com.uenpay.util.net.http;

public class HttpParam {

	/**
	 * 老平台服务器域名端口
	 */
//	public static final String HOST = "211.147.87.30";	// 测试环境
//	public static final String HOST = "211.147.87.20";	// 上线环境
//	public static final int PORT = 8092;				// 端口

	// 2015-9-7 新平台 服务器域名 端口定义
//	public static final String HOST_NEW = "hk.uenpay.com";
//	public static final String HOST_NEW = "192.168.1.232";	// 测试环境  192.168.1.98:8080   测试环境 192.168.1.232
//	public static final String HOST_NEW = "192.168.1.57";	// 测试环境  192.168.1.98:8080   测试环境 192.168.1.232
//	public static final String HOST_NEW = "192.168.1.76";   //

	/**
	 * 端口号
	 * */
//	public static final int PORT_AMS = 8090;
//	public static final int PORT_RMS = 8080;

//	public static final int PORT_AMS = 8090;	// 55的端口
//	public static final int PORT_RMS = 8080;

	/**
	 * 是否为正式环境或232
	 * */
//	public static final boolean isFormal = true;

	/**
	 * HTTP请求串和返回串的加解密password
	 * */
	public static final String AES_Password = "dynamicode";

	/**
	 * 统一请求返回的code
	 * */
	public interface RsqCode {
		String Success						= "00";
		String MultiSituation				= "01"; //不同接口返回有不同处理。如checkphone分为注册时和修改密码时两种情况
		String UnkonwnError					= "占位";
		String Error						= "99";
		String LoginInvalidated	      		= "100";		// 登录标识失效即被登录
		String LongTimeUnoperate   			= "101";		// 长时间未操作
	}

	public interface RsqMsg {
		String COMMON_ERROR 		= "请求通用错误";
		String Error				= "请求失败";
	}

}
